package com.example.wechat114.entity;

public class GForm {
    private Integer gid;

    private Integer mid;

    private Integer gnum;

    private Integer upnum;

    private Integer downnum;

    private String day;

    private String week;

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getGnum() {
        return gnum;
    }

    public void setGnum(Integer gnum) {
        this.gnum = gnum;
    }

    public Integer getUpnum() {
        return upnum;
    }

    public void setUpnum(Integer upnum) {
        this.upnum = upnum;
    }

    public Integer getDownnum() {
        return downnum;
    }

    public void setDownnum(Integer downnum) {
        this.downnum = downnum;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day == null ? null : day.trim();
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week == null ? null : week.trim();
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"gid\":")
                .append(gid);
        sb.append(",\"mid\":")
                .append(mid);
        sb.append(",\"gnum\":")
                .append(gnum);
        sb.append(",\"upnum\":")
                .append(upnum);
        sb.append(",\"downnum\":")
                .append(downnum);
        sb.append(",\"day\":\"")
                .append(day).append('\"');
        sb.append(",\"week\":\"")
                .append(week).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
